Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test code cov #28

Merged
merged 3 commits into from
Jul 26, 2023

Conversation

jpower432
Copy link
Member

@jpower432 jpower432 commented Jul 26, 2023

Description

Adds checks for code coverage
Adds safety and bandit checks

Adds unit tests to tasks and bot

Type of change

  • New feature (non-breaking change which adds functionality)

How has this been tested?

N/A

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@jpower432 jpower432 changed the title Chore/test code cov chore: test code cov Jul 26, 2023
Adds a workflow to check code coverage and fail if below the threshold
Adds dependency checks with safety
Adds security checks with bandit

Signed-off-by: Jennifer Power <[email protected]>
Adds unit tests to isolate tasks from AuthoredObject
Adds unit tests to test different combinations for staged files
Adds unit test to text exception handling for git failures

Signed-off-by: Jennifer Power <[email protected]>
@jpower432 jpower432 marked this pull request as ready for review July 26, 2023 18:55
@jpower432 jpower432 requested a review from afflom July 26, 2023 18:55
@afflom afflom merged commit 8f875fb into RedHatProductSecurity:main Jul 26, 2023
7 checks passed
@jpower432 jpower432 deleted the chore/test-code-cov branch December 6, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants